package com.qianbao.finance.sync.modules.elasticsearch.model;

import java.io.Serializable;

public class SyncMappingConfig implements Serializable{

    private long id;

    private String databaseName;

    private String tableName;

    private String esIndex;

    private String esType;

    private long mysqlCount;

    private long esCount;

    private long changedCount = 1L;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getDatabaseName() {
        return databaseName;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getEsIndex() {
        return esIndex;
    }

    public void setEsIndex(String esIndex) {
        this.esIndex = esIndex;
    }

    public String getEsType() {
        return esType;
    }

    public void setEsType(String esType) {
        this.esType = esType;
    }

    public long getMysqlCount() {
        return mysqlCount;
    }

    public void setMysqlCount(long mysqlCount) {
        this.mysqlCount = mysqlCount;
    }

    public long getEsCount() {
        return esCount;
    }

    public void setEsCount(long esCount) {
        this.esCount = esCount;
    }

    public long getChangedCount() {
        return changedCount;
    }

    public void setChangedCount(long changedCount) {
        this.changedCount = changedCount;
    }
}
